Tootsville::Make-Record

Function

Make-Record names a function, with lambda list (TYPE &REST COLUMNS+VALUES):

Create a new record of TYPE with initial values COLUMNS+VALUES.

Implies saving that record to the backing storage, as well.

This is analogous to MAKE-INSTANCE (see the Common Lisp HyperSpec) or a DEFSTRUCT (see the Common Lisp HyperSpec) constructor, but for ORM objects.

File

Defined in file src/db/generic-db.lisp.